<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>首页</title>
</head>
<body>

        <h1>首页</h1>

        <% if(loginUserName!=null){%>
            <h3>欢迎您:【<%=loginUserName%>】  <a href="/logOut">退出</a></h3>
        <% } else{%>
            <h3><a href="/login.html">登录</a></h3>
        <%}%>
</body>
</html>